package com.medical.manage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.medical.manage.domain.Order;
import com.medical.manage.domain.vo.DoctorVo;
import com.medical.manage.domain.vo.OrderVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @BelongsProject: medical
 * @BelongsPackage: com.medical.manage.mapper
 * @Author: szw
 * @CreateTime: 2025-03-17  20:03
 * @Description: TODO
 * @Version: 1.0
 */
@Repository
public interface OrderMapper extends BaseMapper<Order> {
    /**
     * 订单
     * @return
     */
    List<OrderVo> getOrder();

    /**
     * 医生信息
     * @param doctorId
     * @return
     */
    DoctorVo getDoctorDetail(@Param("doctorId") Integer doctorId);
}
